package com.noble.meether.ui.wallet.detail.bean;

import com.noble.library.base.bean.BaseData;

import org.json.JSONArray;

import java.util.ArrayList;

/**
 * 收入明细
 */
public class IncomeList extends BaseData {
    private ArrayList<Income> incomeList = new ArrayList<>();

    @Override
    public void parseJson(String jsonStr) {
        JSONArray jsonArray = getJsonArray(jsonStr);
        this.incomeList = (ArrayList<Income>) getBaseDataList(jsonArray, Income.class);
    }

    public ArrayList<Income> getIncomeList() {
        return incomeList;
    }
}
